import React from 'react';
import { connect } from 'dva';
import QualityAbnormalComponent from '../../../components/SalesManage/QualityAbnormal/QualityAbnormal';

function QualityAbnormal({ dispatch, app, content }) {
  const qualityAbnormalProps = {
    dispatch,
    app,
    content,
  };

  return (
    <QualityAbnormalComponent {...qualityAbnormalProps} />
  );
}

export default connect(({ app, content }) =>
  ({ app, content }))(QualityAbnormal);
